<template>
  <stock-all
    :sortList="us_all"
    @ListClick="ListClick"
  ></stock-all>
</template>
<script>
import stockAll from "@/components/stock/stock_all.vue";
export default {
  components: { stockAll },
  data() {
    return {
      us_all: {
        toggleShow: true,
        order: ["", "DESC", "ASC"],
        name: "order",
        url: "/api/market/index", // 全部美股板块
        submit: {
          type: "US",
          securityType: "1",
          order: "DESC",
          field: "gain",
          plate: "1,2",
          pageSize: "",
          page: 1,
        },
      },
    };
  },
  methods: {
    ListClick(isTrue) {
      this.$store.dispatch("SetUsActive", isTrue);
    },
  },
};
</script>
<style lang="less" scoped>
</style>